/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.user.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 用户组别管理Entity
 * @author 陈维乾
 * @version 2018-03-31
 */
public class CampusinfoUserGroup extends DataEntity<CampusinfoUserGroup> {
	
	private static final long serialVersionUID = 1L;
	
	private String userName;	//学生姓名
	private String groupName;   //组别名称
	private String userid;		// 用户编号
	private String groupid;		// 组别编号



	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public CampusinfoUserGroup() {
		super();
	}

	public CampusinfoUserGroup(String id){
		super(id);
	}

	@Length(min=1, max=64, message="用户编号长度必须介于 1 和 64 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=1, max=64, message="组别编号长度必须介于 1 和 64 之间")
	public String getGroupid() {
		return groupid;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}
	
}